package com.ythook.mentor.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.boot.jackson.JsonComponent;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import javax.persistence.Entity;
import javax.persistence.EntityListeners;
import java.util.List;
import java.util.Optional;


@JsonComponent()
@Accessors(chain = true)
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class TrainingsDetail {

    private Trainings trainings;

    private Optional<User> user;
    private Optional<User> mentor;
    private List<MentorSkills> listMentorSkills;
    private Optional<MentorCalendar> mentorCalendar;
}
